import Vue from 'vue'
import App from './App.vue'
//vuex
import store from './vuex/store'
//router
import router from './js/router/index'
//antd
import Antd from 'ant-design-vue'
//import 'ant-design-vue/dist/antd.css'
import './css/theme-ext.less'
import './css/utils.less';
//
import tools from './js/tools'
Vue.use(Antd);

//Import Froala Editor 
import 'froala-editor/js/plugins.pkgd.min.js';
import 'froala-editor/js/languages/zh_cn';
//Import third party plugins
import 'froala-editor/js/third_party/embedly.min';
import 'froala-editor/js/third_party/font_awesome.min';
import 'froala-editor/js/third_party/spell_checker.min';
import 'froala-editor/js/third_party/image_tui.min';

// Import Froala Editor css files.
import 'froala-editor/css/froala_editor.pkgd.min.css';


// Import and use Vue Froala lib.
import VueFroala from 'vue-froala-wysiwyg'
Vue.use(VueFroala);
//
global.$vuex = store;
global.$router = router;
global.tools = tools;
//
Vue.config.productionTip = false;
//
new Vue({
    store,
    router, //加入我自己的路由
    render: h => h(App)
}).$mount('#app')